Skip to content

fix: simplify PSP command selection for CodeQL - #25

Merged
drpetersonfernandes merged 1 commit into
masterfrom
fix/psp-codeql-followup
Nov 24, 2026
Merged

drpetersonfernandes merged 1 commit into
masterfrom
fix/psp-codeql-followup

Conversation

@drpetersonfernandes

Copy link
Copy Markdown
Collaborator

Summary

Follow-up for the CodeQL cs/complex-condition note introduced by the PSP 2048-hunk option. The command-selection ternary is now an explicit if/else if sequence with the same behavior; the conversion-pipeline docs match it.

Verification

  • dotnet build CSharp_CHDStudio.sln -c Release - 0 warnings, 0 errors
  • dotnet test CHDStudio.Tests/CHDStudio.Tests.csproj -c Release --filter "Category!=Integration" - 1304 passed
  • jb inspectcode - 0 warnings, 0 errors

Replace the compound ternary with an explicit command-selection sequence so the new PSP branch does not add a complex-condition finding.
@drpetersonfernandes
drpetersonfernandes merged commit a78646a into master Nov 24, 2026
12 checks passed
@drpetersonfernandes
drpetersonfernandes deleted the fix/psp-codeql-followup branch November 24, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant